package com.lujieni.springboothutool.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("t_person")
public class PersonPO {

    // 必须加 否则会报错
    @TableId
    private Long id;

    @TableField("my_name")
    private String name;

    @TableField("my_age")
    private Integer age;

    @TableField("create_time")
    private Date createTime;

}
